package com.yzk.aigy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yzk.aigy.model.system.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yzk.aigy.model.vo.SysUserQueryVo;

import java.util.Map;

/**
* @description 针对表【sys_user(用户表)】的数据库操作Service
*/
public interface SysUserService extends IService<SysUser> {

    /**
     * 用户分页查询
     * @param sysUserQueryVo sysUserQueryVo
     * @return IPage<SysUser>
     */
    IPage<SysUser> page(SysUserQueryVo sysUserQueryVo);

    SysUser getUserInfoUserName(String username);

    Map<String, Object> getUserInfo(String username);

}
